<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/6/24
 * Time: 16:37
 */
namespace app\api\model;

use think\Model;

class Login extends Model
{
    protected $autoWriteTimestamp = true;
    protected $table = 'cr_user';
    protected $insert             = [
        'status' => 1,
    ];

    protected $field = [
        'id'          => 'int',
        'openid', 'session_key', 'expiration_time','sign','nickname','gender','mobile'
    ];
}